# 导包
import requests

# 准备测试数据
url = "https://www.baidu.com"

# 发起请求，进行测试，保存返回结果
response = requests.get(url)

# 打印返回结果状态码：status_code 文本：text
print(response.status_code)
print(response.text)












